package com.dhcc.wb.gongzhonghao;

import java.io.Serializable;
import java.util.UUID;

/**
 * @author wb
 *
 */
public class UtilArticle2Model implements Serializable, Comparable<UtilArticle2Model>{
	/**
	 * title、阅读人数、公众号个数、阅读次数
	 */
	private static final long serialVersionUID = 1L;
	
    private String gzhname;//
    private String gzhid;//
    private Integer readcount;//
    private Integer usercount;//
    
	@Override
	public int compareTo(UtilArticle2Model user) {
		// TODO Auto-generated method stub
		return user.getReadcount() - this.readcount;
	}

	public String getGzhname() {
		return gzhname;
	}

	public void setGzhname(String gzhname) {
		this.gzhname = gzhname;
	}

	public String getGzhid() {
		return gzhid;
	}

	public void setGzhid(String gzhid) {
		this.gzhid = gzhid;
	}

	public Integer getReadcount() {
		return readcount;
	}

	public void setReadcount(Integer readcount) {
		this.readcount = readcount;
	}

	public Integer getUsercount() {
		return usercount;
	}

	public void setUsercount(Integer usercount) {
		this.usercount = usercount;
	}

	@Override
	public String toString() {
		return "UtilArticle2Model [gzhname=" + gzhname + ", gzhid=" + gzhid
				+ ", readcount=" + readcount + ", usercount=" + usercount + "]";
	}


    
	
}
